package com.litingfeng.mapper;

import com.litingfeng.bean.Post;
import java.util.List;

public interface PostMapper {
    int deleteByPrimaryKey(Integer pId);

    int insert(Post row);

    Post selectByPrimaryKey(Integer pId);

    List<Post> selectAll();

    int updateByPrimaryKey(Post row);
    Post selectPostByName(String name);
}